package com.huatai.manage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.huatai.manage.base.BaseEntity;
import com.huatai.manage.common.group.AddGroup;
import com.huatai.manage.common.group.UpdateGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 特效管理;
 * </p>
 *
 * @author luoxc
 * @since 2023-03-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_special_effect")
@ApiModel(value = "TbSpecialEffect对象", description = "特效管理;")
public class TbSpecialEffectEntity extends BaseEntity {

	@ApiModelProperty(value = "主键id")
	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	@ApiModelProperty(value = "特效id")
	private String effectId;

	@ApiModelProperty(value = "特效名称")
	@NotBlank(message = "特效名称不能为空！")
	private String effectName;

	@ApiModelProperty(value = "特效类型")
	@NotBlank(message = "特效类型不能为空！")
	private String effectType;

	@ApiModelProperty(value = "特效照片")
	@NotBlank(message = "特效照片不能为空！")
	private String effectImg;

	@ApiModelProperty(value = "特效url")
	@NotBlank(message = "特效url不能为空！")
	private String effectUrl;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "状态")
	private String state = "1";

}
